package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author chenxuebin
 * @since 2022-02-18
 */
@TableName("t_game_log")
public class GameLog extends Model<GameLog> {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    private Long id;
    /**
     * 游戏id
     */
    private Long gameid;
    private Double zhuma;

    private Integer ying;
    private Integer ping;
    private Integer shu;

    /**
     * 游戏类型
     */
    private String gametype;

    private String gametype2;

    private String username;
    private String userid;
    private String sn;

    /**
     * 日志类型
     */
    private Integer logtype;
    //当前流水
    private Integer liushui;
    private Integer round;
    //当前余额
    private BigDecimal money;
    /**
     * 日志时间
     */
    private Date createtime;
    /**
     * 软件版本
     */
    private Integer version;
    /**
     * 站点
     */
    private String website;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGameid() {
        return gameid;
    }

    public void setGameid(Long gameid) {
        this.gameid = gameid;
    }

    public String getGametype() {
        return gametype;
    }

    public void setGametype(String gametype) {
        this.gametype = gametype;
    }

    public Integer getLogtype() {
        return logtype;
    }

    public void setLogtype(Integer logtype) {
        this.logtype = logtype;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getGametype2() {
        return gametype2;
    }

    public void setGametype2(String gametype2) {
        this.gametype2 = gametype2;
    }

    public Double getZhuma() {
        return zhuma;
    }

    public void setZhuma(Double zhuma) {
        this.zhuma = zhuma;
    }

    public Integer getLiushui() {
        return liushui;
    }

    public void setLiushui(Integer liushui) {
        this.liushui = liushui;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Integer getYing() {
        return ying;
    }

    public void setYing(Integer ying) {
        this.ying = ying;
    }

    public Integer getPing() {
        return ping;
    }

    public void setPing(Integer ping) {
        this.ping = ping;
    }

    public Integer getShu() {
        return shu;
    }

    public void setShu(Integer shu) {
        this.shu = shu;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getRound() {
        return round;
    }

    public void setRound(Integer round) {
        this.round = round;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GameLog{" +
                "id=" + id +
                ", gameid=" + gameid +
                ", gametype=" + gametype +
                ", logtype=" + logtype +
                ", createtime=" + createtime +
                ", version=" + version +
                ", website=" + website +
                "}";
    }
}
